package root.sport_manager.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 参赛队伍表
 * </p>
 *
 * @author root
 * @since 2021-07-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Team implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 代表队表主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 代表队名
     */
    private String name;

    /**
     * 领队
     */
    private String leader;

    /**
     * 教练
     */
    private String coach;

    /**
     * 竞赛组表外键id
     */
    private Integer groupId;

    /**
     * 乐观锁
     */
    private Integer version;

    /**
     * 逻辑删除，默认值为0(未删除)
     */
    private Integer deleted;


}
